home *** CD-ROM | disk | FTP | other *** search
- Path: iway.fr!usenet
- From: bertrand flahault <bflahaut@pratique.fr@pratique.fr>
- Newsgroups: comp.lang.c++
- Subject: BC++ OS2 - sending a WS_DISABLED to a TEdit
- Date: 12 Jan 1996 23:45:25 GMT
- Organization: Internet Way
- Message-ID: <4d6rql$cd2@s3.iway.fr>
- NNTP-Posting-Host: ts1-p22.dialup.iway.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1I [fr] (Windows; I; 16bit)
-
- Hello,
- Using RW, I'm creating a dialog in which I put a TEdit object
- which I disable (WS_DISABLED).
-
- In my TMyDialog class I declare a TEdit pointer :
- TEdit *ptrMyTEdit;
-
- and in the constructor I do :
- ptrMyTEdit=new TEdit(this, EF_TEST, 8);
-
- the field is well created but I would like to be able to enable
- this field.
- I tried
- ptrMyTEdit->Attr.Style &=~WS_DISABLED and things like that but it
- does not seem to work.
- Thanks if you can help.
- My address is
- bflahaut@pratique.fr
- Ciao
- Bertrand
- P.S.: Didn't remember my english was that bad...sorry
-
-